/**
 * @Description: 基础类型
 * @Author 卞鹏飞 <228443632@qq.com>
 * @create 07/08/24 10:16 PM
 */

export type TVisible = '0' | '1' | 0 | 1

export type TEnable = '0' | '1'

// export type PickProp<T> = Pick<T, { [K in keyof T]: T[K] extends never? never : K }[keyof T]>

/**
 *
 * ```js
 * type Person = {
 *   id: number,
 *   name: string,
 *   height: number
 * }
 *
 * type ResultPerson = PickPropType<Person, id>
 *
 * ```
 */
// export type PickPropType<T, K extends keyof T> = Pick<T, K>[K]
